home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Prog / B-C / CPEditText 1.2.sit / CPEditText 1.2 / CPEditScrollPane.h / CPEditScrollPane.h
Encoding:
C/C++ Source or Header  |  1993-10-03  |  1.3 KB  |  40 lines  |  [TEXT/KAHL]

  1. /******************************************************************************
  2.  CPEditScrollPane.h
  3.  
  4.                     Interface for the PEditScrollPane Class
  5.         
  6.     Copyright © 1992 Christopher R. Wysocki.  All rights reserved.
  7.     Based on code copyright © 1989-1991 Symantec Corporation.
  8.     
  9.  ******************************************************************************/
  10.  
  11. #define _H_CPEditScrollPane                /* Include this file only once        */
  12.  
  13. #include <CScrollPane.h>                /* Interface for its superclass        */
  14.  
  15.                                         /* Class Declaration                */
  16. class CPEditScrollPane : public CScrollPane {
  17.  
  18.                                 /** Instance Variables **/
  19. protected:
  20.     short            hScale;                /* Horizontal scale factor            */
  21.     short            vScale;                /* Vertical scale factor            */
  22.     
  23.                                 /** Instance Methods **/
  24. public:
  25.                                     /** Construct/Desctruction **/
  26.     void            IPEditScrollPane(CView *anEnclosure, CBureaucrat *aSupervisor,
  27.                             short aWidth, short aHeight, short aHEncl, short aVEncl,
  28.                             SizingOption aHSizing, SizingOption aVSizing,
  29.                             Boolean hasHoriz, Boolean hasVert, Boolean hasSizeBox);
  30.     virtual void    IViewTemp(CView *anEnclosure, CBureaucrat *aSupervisor,
  31.                             Ptr viewData);
  32.     
  33.                                     /** Scroll Bar Maintenance **/
  34.     virtual void    AdjustScrollMax(void);
  35.     virtual void    Calibrate(void);
  36.     
  37.                                     /** Scroll Performance **/
  38.     virtual void    DoThumbDrag(short hDelta, short vDelta);
  39. };
  40.